STEP 5: We'll pass arguments into the function in the call line. This will assign a value to each parameter variable.

  • Drag Function Call with Parameter OUTSIDE the function and change the name to draw_card().
  • Change the argument in the call line from my_var to the string "Sunday the 20th".
  • Add another argument separated by a comma: the integer 7.
  • Add a third argument separated by a comma: the string "summer".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)